package com.emdata.competition;

import com.emdata.competition.service.IFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.PostConstruct;

@SpringBootApplication
public class Application {

	@Autowired
	private IFileService iFileService;

	@PostConstruct
	public void init() {
		//初始化
		iFileService.init();

	}
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
